
public class Homework {
public static void main(String[] args) {
	int year = 2020;
	System.out.println(year % 4 ==0 && year % 400 !=0 || year % 400 == 0);
}
}

